//生产管理
import Layout from '@/layout'
export default {
    path: '/productionManagement',
    component: Layout,
    redirect: '/productionManagement/workOrder',
    children: [{
        path: '/productionManagement/workOrder',
        component: () => import('@/view/productionManagement/workOrder'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
            ],
            permCode: 'project'
        }
    }, {
        path: '/productionManagement/task',
        component: () => import('@/view/productionManagement/task'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '任务',
                    to: '/productionManagement/task'
                },
            ],
            permCode: "project.task"
        }
    }, {
        path: '/productionManagement/jobBooking',
        component: () => import('@/view/productionManagement/jobBooking'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
            ],
            permCode: "output"
        }
    }, {
        path: '/productionManagement/createOrder',
        component: () => import('@/view/productionManagement/workOrder/createOrder.vue'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '创建工单',
                    to: ''
                },
            ],
            permCode: "project.create"
        }
    }, {
        path: '/productionManagement/copy',
        component: () => import('@/view/productionManagement/workOrder/copy.vue'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '复制工单',
                    to: ''
                },
            ],
            permCode: "project.copy"
        }
    }, {
        path: '/productionManagement/workOrder/loadLog',
        component: () => import('@/view/productionManagement/workOrder/loadLog'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '导入日志',
                    to: ''
                },
            ],
            permCode: "project.loadlog"
        }
    }, {
        path: '/productionManagement/workOrder/customEvent',
        component: () => import('@/view/productionManagement/workOrder/customEvent'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '自定义事件',
                    to: ''
                },
            ],
            permCode: "project.custom"
        }
    }, {
        path: '/productionManagement/edit',
        component: () => import('@/view/productionManagement/workOrder/edit'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单详情',
                    to: ''
                },
            ],
            permCode: "project.detail"
        }
    }, {
        path: '/productionManagement/operationHistory',
        component: () => import('@/view/productionManagement/workOrder/operationHistory'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '查看操作记录',
                    to: ''
                },
            ],
            permCode: "project.record"
        }
    }, {
        path: '/productionManagement/workOrder/logDetails',
        component: () => import('@/view/productionManagement/workOrder/logDetail'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/workOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '工单',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '导入日志',
                    to: '/productionManagement/workOrder/loadLog'
                },
                {
                    name: '导入日志详情',
                    to: ''
                },
            ],
            permCode: "project.logDetails"
        }
    }, {
        path: '/productionManagement/task/customEvent',
        component: () => import('@/view/productionManagement/task/customEvent'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/task',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '任务',
                    to: '/productionManagement/task'
                },
                {
                    name: '自定义事件',
                    to: ''
                },
            ],
            permCode: 'task.custom'
        }
    }, {
        path: '/productionManagement/task/edit',
        component: () => import('@/view/productionManagement/task/edit'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/task',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '任务',
                    to: '/productionManagement/task'
                },
                {
                    name: '编辑任务',
                    to: ''
                },
            ],
            permCode: 'task.edit'
        }
    }, {
        path: '/productionManagement/task/detail',
        component: () => import('@/view/productionManagement/task/detail'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/task',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '任务',
                    to: '/productionManagement/task'
                },
                {
                    name: '任务详情',
                    to: ''
                },
            ],
            permCode: 'task.detail'
        }
    }, {
        path: '/productionManagement/jobBooking/customEvent',
        component: () => import('@/view/productionManagement/jobBooking/customEvent'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '自定义事件',
                    to: ''
                },
            ],
            permCode: 'jobBooking.custom'
        }
    }, {
        path: '/productionManagement/jobBooking/loadLog',
        component: () => import('@/view/productionManagement/jobBooking/loadLog'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '导入日志',
                    to: ''
                },
            ],
            permCode: 'jobBooking.loadLog'
        }
    }, {
        path: '/productionManagement/jobBooking/detail',
        component: () => import('@/view/productionManagement/jobBooking/detail'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '报工详情',
                    to: ''
                },
            ],
            permCode: 'jobBooking.detail'
        }
    }, {
        path: '/productionManagement/jobBooking/edit',
        component: () => import('@/view/productionManagement/jobBooking/edit'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '编辑报工',
                    to: ''
                },
            ],
            permCode: 'jobBooking.edit'
        }
    }, {
        path: '/productionManagement/jobBooking/operationHistory',
        component: () => import('@/view/productionManagement/jobBooking/operationHistory'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '查看操作记录',
                    to: ''
                },
            ],
            permCode: 'jobBooking.operationHistory'
        }
    }, {
        path: '/productionManagement/jobBooking/create',
        component: () => import('@/view/productionManagement/jobBooking/create'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '创建报工',
                    to: ''
                },
            ],
            permCode: 'jobBooking.create'
        }
    },{
        path: '/productionManagement/jobBooking/logDetails',
        component: () => import('@/view/productionManagement/jobBooking/logDetail'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/jobBooking',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '报工',
                    to: '/productionManagement/jobBooking'
                },
                {
                    name: '导入日志',
                    to: '/productionManagement/jobBooking/loadLog'
                },
                {
                    name: '导入日志详情',
                    to: ''
                },
            ],
            permCode: "jobBooking.logDetails"
        }
    },{
        path: '/productionManagement/salesOrder',
        component: () => import('@/view/productionManagement/salesOrder'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '销售订单',
                    to: ''
                },
            ],
            permCode: 'salesOrder'
        }
    },{
        path: '/productionManagement/salesOrder/create',
        component: () => import('@/view/productionManagement/salesOrder/create'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/salesOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '销售订单',
                    to: '/productionManagement/salesOrder'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'salesOrder.create'
        }
    },{
        path: '/productionManagement/salesOrder/edit',
        component: () => import('@/view/productionManagement/salesOrder/edit'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/salesOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '销售订单',
                    to: '/productionManagement/salesOrder'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'salesOrder.edit'
        }
    },{
        path: '/productionManagement/salesOrder/copy',
        component: () => import('@/view/productionManagement/salesOrder/copy'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/salesOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '销售订单',
                    to: '/productionManagement/salesOrder'
                },
                {
                    name: '复制',
                    to: ''
                },
            ],
            permCode: 'salesOrder.copy'
        }
    },{
        path: '/productionManagement/assembleOrder',
        component: () => import('@/view/productionManagement/assembleOrder'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '装配工单',
                    to: ''
                },
            ],
            permCode: 'assembleOrder'
        }
    },{
        path: '/productionManagement/assembleOrder/create',
        component: () => import('@/view/productionManagement/assembleOrder/create'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/assembleOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '装配工单',
                    to: '/productionManagement/assembleOrder'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'assembleOrder.create'
        }
    },{
        path: '/productionManagement/assembleOrder/edit',
        component: () => import('@/view/productionManagement/assembleOrder/edit'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/assembleOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '装配工单',
                    to: '/productionManagement/assembleOrder'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'assembleOrder.edit'
        }
    },{
        path: '/productionManagement/assembleOrder/copy',
        component: () => import('@/view/productionManagement/assembleOrder/copy'),
        meta: {
            title: '默通工单',
            activePath: '/productionManagement/assembleOrder',
            breadList: [{
                    name: '生产管理',
                    to: '/productionManagement/workOrder'
                },
                {
                    name: '装配工单',
                    to: '/productionManagement/assembleOrder'
                },
                {
                    name: '复制',
                    to: ''
                },
            ],
            permCode: 'assembleOrder.copy'
        }
    }]
}